package com.group.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.group.entity.BarCodReplaceEntity;

import java.util.List;

public interface BarCodService extends IService<BarCodReplaceEntity> {
    /**
     * 校验条码是否合法
     * @param cod
     * @return
     */
    boolean legitimateBarCod(String cod);

    /**
     * 转换条码
     * @param cod
     * @return
     */
    String conversionBarCod(String cod);

    List<BarCodReplaceEntity> findAll();
}
